package com.ruoyi.tenants.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 租客管理对象 tenants
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
public class Tenants extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long tenantId;

    /** 租客昵称 */
    @Excel(name = "租客昵称")
    private String nickName;

    /** 租客密码 */
    @Excel(name = "租客密码")
    private String tenantPassword;

    /** 租客手机号 */
    @Excel(name = "租客手机号")
    private String phoneNumber;

    /** 租客状态 */
    @Excel(name = "租客状态")
    private String accountStatus;

    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setTenantPassword(String tenantPassword) 
    {
        this.tenantPassword = tenantPassword;
    }

    public String getTenantPassword() 
    {
        return tenantPassword;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAccountStatus(String accountStatus) 
    {
        this.accountStatus = accountStatus;
    }

    public String getAccountStatus() 
    {
        return accountStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tenantId", getTenantId())
            .append("nickName", getNickName())
            .append("tenantPassword", getTenantPassword())
            .append("phoneNumber", getPhoneNumber())
            .append("accountStatus", getAccountStatus())
            .toString();
    }
}
